<template>
  <div>
    <el-form-item label="是否禁用">
      <el-radio-group
        v-model="componentInfo.SwitchIsdisabled"
        style="width: 100%"
      >
        <el-radio :label="true">禁用</el-radio>
        <el-radio :label="false">开启</el-radio>
      </el-radio-group>
    </el-form-item>
    <el-form-item label="打开时的文字描述">
      <el-input v-model="componentInfo.switchOpen"></el-input>
    </el-form-item>
    <el-form-item label="关闭时的文字描述">
      <el-input v-model="componentInfo.switchClose"></el-input>
    </el-form-item>
  </div>
</template>
<script>
import basic from "./basic.vue";
export default {
  extends: basic,
  name: "templateSwitch",
};
</script>